// StringInput.cs created with MonoDevelop
// User: jeremie at 16:03 02/01/2009
//
// To change standard headers go to Edit->Preferences->Coding->Standard Headers
//

using System;

namespace Bechamel
{
	public class StringInput : InputComponent<Starter>
	{
		readonly string code;
		
		public StringInput(string code)
		{
			this.code = code;
		}

		public override void InputChannel(object sender, OutputChannelEventArgs<Starter> input)
		{
			this.OnOutputChannel(code);
		}
	}
}
